using System;

namespace SBPweb.Themes.Windows.Schemes
{
	/// <summary>
	/// Class of StyleSheetBindingEventArgs
	/// </summary>
    public class StyleSheetBindingEventArgs : EventArgs
    {
        #region Private fields

        private string pAttrName;
        private string pValue;
        private object pBindValue;
        private object[] pIndexes;

        #endregion

        #region Constructor logic

		/// <summary>
		/// Constructor of StyleSheetBindingEventArgs
		/// </summary>
		/// <param name="attributeName"></param>
		/// <param name="value"></param>
        internal StyleSheetBindingEventArgs(string attributeName, string value)
        {
            pAttrName = attributeName;
            pValue = value;
        }

        #endregion

        #region Property accessors

		/// <summary>
		/// Attribute name
		/// </summary>
        public string AttributeName
        {
            get
            {
                return pAttrName;
            }
        }

		/// <summary>
		/// Value
		/// </summary>
        public string Value
        {
            get
            {
                return pValue;
            }
        }

		/// <summary>
		/// Bind value
		/// </summary>
        public object BindValue
        {
            get
            {
                return pBindValue;
            }
            set
            {
                pBindValue = value;
            }
        }

		/// <summary>
		/// Indexes
		/// </summary>
        public object[] Idexes
        {
            get
            {
                return pIndexes;
            }
            set
            {
                pIndexes = value;
            }
        }

        #endregion

    }

}
